package com.example.demo.client.evt.sysbasequery;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ffcs.oss.param.in.QueryPageEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhengmf
 * @Date 2019/3/24  16:19
 */
@ApiModel("操作日志")
public class SaveOperateLogEvt extends QueryPageEvt implements Serializable {
    private static final long serialVersionUID = -4267351852065629566L;
    @ApiModelProperty("操作日志ID")
    private Long id;
    @ApiModelProperty("模快类型")
    private String moduleType;
    @ApiModelProperty("操作动作")
    private String operateAction;
    @ApiModelProperty("操作内容")
    private String operateComment;
    @ApiModelProperty("操作结果状态 Y/N")
    private String operateResult;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("操作人")
    private String createUserName;
    @ApiModelProperty("操作时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @ApiModelProperty("修改人")
    private String updateUserName;
    @ApiModelProperty("修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    @ApiModelProperty("操作对象类型")
    private String operateObjType;
    @ApiModelProperty("ip地址")
    private String ipAddress;

    @Override
    public String toString() {
        return "OperateLogEvt{" +
            "id=" + id +
            ", moduleType='" + moduleType + '\'' +
            ", operateAction='" + operateAction + '\'' +
            ", operateComment='" + operateComment + '\'' +
            ", operateResult='" + operateResult + '\'' +
            ", remark='" + remark + '\'' +
            ", createUserName='" + createUserName + '\'' +
            ", createTime=" + createTime +
            ", updateUserName='" + updateUserName + '\'' +
            ", updateTime=" + updateTime +
            ", operateObjType='" + operateObjType + '\'' +
            ", ipAddress='" + ipAddress + '\'' +
            '}';
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public String getOperateAction() {
        return operateAction;
    }

    public void setOperateAction(String operateAction) {
        this.operateAction = operateAction;
    }

    public String getOperateComment() {
        return operateComment;
    }

    public void setOperateComment(String operateComment) {
        this.operateComment = operateComment;
    }

    public String getOperateResult() {
        return operateResult;
    }

    public void setOperateResult(String operateResult) {
        this.operateResult = operateResult;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperateObjType() {
        return operateObjType;
    }

    public void setOperateObjType(String operateObjType) {
        this.operateObjType = operateObjType;
    }
}
